<template>
  <div class="container">
    <tui-header></tui-header>
    <router-view :key="key" />
    <global-footer></global-footer>
  </div>
</template>

<script>
  import TuiHeader from '@/components/GlobalHeader/TuiHeader'
  import GlobalFooter from '@/components/GlobalFooter/GlobalFooter'
  export default {
    name: 'TuiLayout',
    components: { GlobalFooter, TuiHeader },
    computed: {
      key () {
        return this.$route.path
      }
    }
  }
</script>

<style scoped>

</style>
